package com.zc.operator.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 计费策略
 */
public class ChargeStationPriceTactics extends BaseEntity {
    /**
     * 主键
     */
    private Long id;

    /**
     * 策略名称
     */
    private String tacticsName;

    /**
     * 场站编号
     */
    private String stationCode;

    /**
     * 场站ID
     */
    private Long stationId;

    /**
     * 模版ID
     */
    private Long modelId;

    /**
     * 生效时间
     */
    private Date startTime;

    /**
    * 结束时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date endTime;

    /**
     * 状态 0停用 1启用
     */
    private String status;

    /**
     * 默认策略 0否 1是
     */
    private String isDefault;

    /**
     * 模版编码
     */
    private String priceTypeCode;

    private Long priceTypeId;

    private String stopFee;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTacticsName() {
        return tacticsName;
    }

    public void setTacticsName(String tacticsName) {
        this.tacticsName = tacticsName;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(String isDefault) {
        this.isDefault = isDefault;
    }

    public String getPriceTypeCode() {
        return priceTypeCode;
    }

    public void setPriceTypeCode(String priceTypeCode) {
        this.priceTypeCode = priceTypeCode;
    }

    public Long getPriceTypeId() {
        return priceTypeId;
    }

    public void setPriceTypeId(Long priceTypeId) {
        this.priceTypeId = priceTypeId;
    }

    public String getStopFee() {
        return stopFee;
    }

    public void setStopFee(String stopFee) {
        this.stopFee = stopFee;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tacticsName=").append(tacticsName);
        sb.append(", stationCode=").append(stationCode);
        sb.append(", stationId=").append(stationId);
        sb.append(", modelId=").append(modelId);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", status=").append(status);
        sb.append(", isDefault=").append(isDefault);
        sb.append("]");
        return sb.toString();
    }
}
